import random
player = int(input("player time"))
computer = random.randint(1,3)
# 1 石头 2 剪刀 3 布
if player == 1:
    if computer == 1:
        print("平局")
    elif computer == 2:
        print("玩家胜利")
    else:
        print("电脑胜利")
elif player == 2:
    if computer == 1:
        print("电脑胜利")
    elif computer == 2:
        print("平局")
    else:
        print("玩家胜利")
else:
    if computer == 1:
        print("玩家胜利")
    elif computer == 2:
        print("电脑胜利")
    else:
        print("平局")